package com.lazy.core.entity;

import lombok.Data;

import javax.persistence.*;

@Table(name = "runner_info")
@Data
public class RunnerInfo {
    @Id
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String gender;

    /**
     * 生日
     */
    private String birth;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 证件类型
     */
    @Column(name = "id_type")
    private String idType;

    /**
     * 证件号码
     */
    @Column(name = "id_no")
    private String idNo;

    /**
     * 国籍
     */
    private String nationality;

    /**
     * 地址
     */
    private String address;

    @Column(name = "emergency_contact_person")
    private String emergencyContactPerson;

    /**
     * 紧急联系人电话
     */
    @Column(name = "emergency_contact_tel")
    private String emergencyContactTel;

    /**
     * 血型
     */
    @Column(name = "blood_type")
    private String bloodType;

    /**
     * T恤尺码
     */
    @Column(name = "t_shirt_size")
    private String tShirtSize;

    /**
     * 最好成绩
     */
    @Column(name = "personal_best")
    private String personalBest;

    /**
     * 跑者类型
     */
    @Column(name = "runner_type")
    private String runnerType;

    @Column(name = "is_del")
    private Boolean isDel;
}